package com.tuwer.controller;

import com.tuwer.annotation.Log;
import com.tuwer.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 土味儿
 * Date 2022/1/26
 * @version 1.0
 */
@RestController
public class TestController {

    @Log(desc = "测试接口")
    @GetMapping("/test")
    public String test1(){
        return "hello!";
    }
}
